System.register("chunks:///_virtual/debug-view-runtime-control.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc'], function (exports) {
  var _applyDecoratedDescriptor, _inheritsLoose, _initializerDefineProperty, _assertThisInitialized, cclegacy, _decorator, Node, Color, Canvas, UITransform, instantiate, Label, RichText, Toggle, Button, director, Component;
  return {
    setters: [function (module) {
      _applyDecoratedDescriptor = module.applyDecoratedDescriptor;
      _inheritsLoose = module.inheritsLoose;
      _initializerDefineProperty = module.initializerDefineProperty;
      _assertThisInitialized = module.assertThisInitialized;
    }, function (module) {
      cclegacy = module.cclegacy;
      _decorator = module._decorator;
      Node = module.Node;
      Color = module.Color;
      Canvas = module.Canvas;
      UITransform = module.UITransform;
      instantiate = module.instantiate;
      Label = module.Label;
      RichText = module.RichText;
      Toggle = module.Toggle;
      Button = module.Button;
      director = module.director;
      Component = module.Component;
    }],
    execute: function () {
      var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3;
      cclegacy._RF.push({}, "b2bd1+njXxJxaFY3ymm06WU", "debug-view-runtime-control", undefined);
      var ccclass = _decorator.ccclass,
        property = _decorator.property;
      var DebugViewRuntimeControl = exports('DebugViewRuntimeControl', (_dec = ccclass('internal.DebugViewRuntimeControl'), _dec2 = property(Node), _dec3 = property(Node), _dec4 = property(Node), _dec(_class = (_class2 = /*#__PURE__*/function (_Component) {
        _inheritsLoose(DebugViewRuntimeControl, _Component);
        function DebugViewRuntimeControl() {
          var _this;
          for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
            args[_key] = arguments[_key];
          }
          _this = _Component.call.apply(_Component, [this].concat(args)) || this;
          _initializerDefineProperty(_this, "compositeModeToggle", _descriptor, _assertThisInitialized(_this));
          _initializerDefineProperty(_this, "singleModeToggle", _descriptor2, _assertThisInitialized(_this));
          _initializerDefineProperty(_this, "EnableAllCompositeModeButton", _descriptor3, _assertThisInitialized(_this));
          _this._single = 0;
          _this.strSingle = ['No Single Debug', 'Vertex Color', 'Vertex Normal', 'Vertex Tangent', 'World Position', 'Vertex Mirror', 'Face Side', 'UV0', 'UV1', 'UV Lightmap', 'Project Depth', 'Linear Depth', 'Fragment Normal', 'Fragment Tangent', 'Fragment Binormal', 'Base Color', 'Diffuse Color', 'Specular Color', 'Transparency', 'Metallic', 'Roughness', 'Specular Intensity', 'IOR', 'Direct Diffuse', 'Direct Specular', 'Direct All', 'Env Diffuse', 'Env Specular', 'Env All', 'Emissive', 'Light Map', 'Shadow', 'AO', 'Fresnel', 'Direct Transmit Diffuse', 'Direct Transmit Specular', 'Env Transmit Diffuse', 'Env Transmit Specular', 'Transmit All', 'Direct Internal Specular', 'Env Internal Specular', 'Internal All', 'Fog'];
          _this.strComposite = ['Direct Diffuse', 'Direct Specular', 'Env Diffuse', 'Env Specular', 'Emissive', 'Light Map', 'Shadow', 'AO', 'Normal Map', 'Fog', 'Tone Mapping', 'Gamma Correction', 'Fresnel', 'Transmit Diffuse', 'Transmit Specular', 'Internal Specular', 'TT'];
          _this.strMisc = ['CSM Layer Coloration', 'Lighting With Albedo'];
          _this.compositeModeToggleList = [];
          _this.singleModeToggleList = [];
          _this.miscModeToggleList = [];
          _this.textComponentList = [];
          _this.labelComponentList = [];
          _this.textContentList = [];
          _this.hideButtonLabel = void 0;
          _this._currentColorIndex = 0;
          _this.strColor = ['<color=#ffffff>', '<color=#000000>', '<color=#ff0000>', '<color=#00ff00>', '<color=#0000ff>'];
          _this.color = [Color.WHITE, Color.BLACK, Color.RED, Color.GREEN, Color.BLUE];
          return _this;
        }
        var _proto = DebugViewRuntimeControl.prototype;
        _proto.start = function start() {
          // get canvas resolution
          var canvas = this.node.parent.getComponent(Canvas);
          if (!canvas) {
            console.error('debug-view-runtime-control should be child of Canvas');
            return;
          }
          var uiTransform = this.node.parent.getComponent(UITransform);
          var halfScreenWidth = uiTransform.width * 0.5;
          var halfScreenHeight = uiTransform.height * 0.5;
          var x = -halfScreenWidth + halfScreenWidth * 0.1,
            y = halfScreenHeight - halfScreenHeight * 0.1;
          var width = 200,
            height = 20;

          // new nodes
          var miscNode = this.node.getChildByName('MiscMode');
          var buttonNode = instantiate(miscNode);
          buttonNode.parent = this.node;
          buttonNode.name = 'Buttons';
          var titleNode = instantiate(miscNode);
          titleNode.parent = this.node;
          titleNode.name = 'Titles';

          // title
          for (var i = 0; i < 2; i++) {
            var newLabel = instantiate(this.EnableAllCompositeModeButton.getChildByName('Label'));
            newLabel.setPosition(x + (i > 0 ? 50 + width * 2 : 150), y, 0.0);
            newLabel.setScale(0.75, 0.75, 0.75);
            newLabel.parent = titleNode;
            var _labelComponent = newLabel.getComponent(Label);
            _labelComponent.string = i ? '----------Composite Mode----------' : '----------Single Mode----------';
            _labelComponent.color = Color.WHITE;
            _labelComponent.overflow = 0;
            this.labelComponentList[this.labelComponentList.length] = _labelComponent;
          }
          y -= height;
          // single
          var currentRow = 0;
          for (var _i = 0; _i < this.strSingle.length; _i++, currentRow++) {
            if (_i === this.strSingle.length >> 1) {
              x += width;
              currentRow = 0;
            }
            var newNode = _i ? instantiate(this.singleModeToggle) : this.singleModeToggle;
            newNode.setPosition(x, y - height * currentRow, 0.0);
            newNode.setScale(0.5, 0.5, 0.5);
            newNode.parent = this.singleModeToggle.parent;
            var textComponent = newNode.getComponentInChildren(RichText);
            textComponent.string = this.strSingle[_i];
            this.textComponentList[this.textComponentList.length] = textComponent;
            this.textContentList[this.textContentList.length] = textComponent.string;
            newNode.on(Toggle.EventType.TOGGLE, this.toggleSingleMode, this);
            this.singleModeToggleList[_i] = newNode;
          }
          x += width;
          // buttons
          this.EnableAllCompositeModeButton.setPosition(x + 15, y, 0.0);
          this.EnableAllCompositeModeButton.setScale(0.5, 0.5, 0.5);
          this.EnableAllCompositeModeButton.on(Button.EventType.CLICK, this.enableAllCompositeMode, this);
          this.EnableAllCompositeModeButton.parent = buttonNode;
          var labelComponent = this.EnableAllCompositeModeButton.getComponentInChildren(Label);
          this.labelComponentList[this.labelComponentList.length] = labelComponent;
          var changeColorButton = instantiate(this.EnableAllCompositeModeButton);
          changeColorButton.setPosition(x + 90, y, 0.0);
          changeColorButton.setScale(0.5, 0.5, 0.5);
          changeColorButton.on(Button.EventType.CLICK, this.changeTextColor, this);
          changeColorButton.parent = buttonNode;
          labelComponent = changeColorButton.getComponentInChildren(Label);
          labelComponent.string = 'TextColor';
          this.labelComponentList[this.labelComponentList.length] = labelComponent;
          var HideButton = instantiate(this.EnableAllCompositeModeButton);
          HideButton.setPosition(x + 200, y, 0.0);
          HideButton.setScale(0.5, 0.5, 0.5);
          HideButton.on(Button.EventType.CLICK, this.hideUI, this);
          HideButton.parent = this.node.parent;
          labelComponent = HideButton.getComponentInChildren(Label);
          labelComponent.string = 'Hide UI';
          this.labelComponentList[this.labelComponentList.length] = labelComponent;
          this.hideButtonLabel = labelComponent;

          // misc
          y -= 40;
          for (var _i2 = 0; _i2 < this.strMisc.length; _i2++) {
            var _newNode = instantiate(this.compositeModeToggle);
            _newNode.setPosition(x, y - height * _i2, 0.0);
            _newNode.setScale(0.5, 0.5, 0.5);
            _newNode.parent = miscNode;
            var _textComponent = _newNode.getComponentInChildren(RichText);
            _textComponent.string = this.strMisc[_i2];
            this.textComponentList[this.textComponentList.length] = _textComponent;
            this.textContentList[this.textContentList.length] = _textComponent.string;
            var toggleComponent = _newNode.getComponent(Toggle);
            toggleComponent.isChecked = _i2 ? true : false;
            _newNode.on(Toggle.EventType.TOGGLE, _i2 ? this.toggleLightingWithAlbedo : this.toggleCSMColoration, this);
            this.miscModeToggleList[_i2] = _newNode;
          }

          // composite
          y -= 150;
          for (var _i3 = 0; _i3 < this.strComposite.length; _i3++) {
            var _newNode2 = _i3 ? instantiate(this.compositeModeToggle) : this.compositeModeToggle;
            _newNode2.setPosition(x, y - height * _i3, 0.0);
            _newNode2.setScale(0.5, 0.5, 0.5);
            _newNode2.parent = this.compositeModeToggle.parent;
            var _textComponent2 = _newNode2.getComponentInChildren(RichText);
            _textComponent2.string = this.strComposite[_i3];
            this.textComponentList[this.textComponentList.length] = _textComponent2;
            this.textContentList[this.textContentList.length] = _textComponent2.string;
            _newNode2.on(Toggle.EventType.TOGGLE, this.toggleCompositeMode, this);
            this.compositeModeToggleList[_i3] = _newNode2;
          }
        };
        _proto.isTextMatched = function isTextMatched(textUI, textDescription) {
          var tempText = new String(textUI);
          var findIndex = tempText.search('>');
          if (findIndex === -1) {
            return textUI === textDescription;
          } else {
            tempText = tempText.substr(findIndex + 1);
            tempText = tempText.substr(0, tempText.search('<'));
            return tempText === textDescription;
          }
        };
        _proto.toggleSingleMode = function toggleSingleMode(toggle) {
          var debugView = director.root.debugView;
          var textComponent = toggle.getComponentInChildren(RichText);
          for (var i = 0; i < this.strSingle.length; i++) {
            if (this.isTextMatched(textComponent.string, this.strSingle[i])) {
              debugView.singleMode = i;
            }
          }
        };
        _proto.toggleCompositeMode = function toggleCompositeMode(toggle) {
          var debugView = director.root.debugView;
          var textComponent = toggle.getComponentInChildren(RichText);
          for (var i = 0; i < this.strComposite.length; i++) {
            if (this.isTextMatched(textComponent.string, this.strComposite[i])) {
              debugView.enableCompositeMode(i, toggle.isChecked);
            }
          }
        };
        _proto.toggleLightingWithAlbedo = function toggleLightingWithAlbedo(toggle) {
          var debugView = director.root.debugView;
          debugView.lightingWithAlbedo = toggle.isChecked;
        };
        _proto.toggleCSMColoration = function toggleCSMColoration(toggle) {
          var debugView = director.root.debugView;
          debugView.csmLayerColoration = toggle.isChecked;
        };
        _proto.enableAllCompositeMode = function enableAllCompositeMode(button) {
          var debugView = director.root.debugView;
          debugView.enableAllCompositeMode(true);
          for (var i = 0; i < this.compositeModeToggleList.length; i++) {
            var _toggleComponent = this.compositeModeToggleList[i].getComponent(Toggle);
            _toggleComponent.isChecked = true;
          }
          var toggleComponent = this.miscModeToggleList[0].getComponent(Toggle);
          toggleComponent.isChecked = false;
          debugView.csmLayerColoration = false;
          toggleComponent = this.miscModeToggleList[1].getComponent(Toggle);
          toggleComponent.isChecked = true;
          debugView.lightingWithAlbedo = true;
        };
        _proto.hideUI = function hideUI(button) {
          var titleNode = this.node.getChildByName('Titles');
          var activeValue = !titleNode.active;
          this.singleModeToggleList[0].parent.active = activeValue;
          this.miscModeToggleList[0].parent.active = activeValue;
          this.compositeModeToggleList[0].parent.active = activeValue;
          this.EnableAllCompositeModeButton.parent.active = activeValue;
          titleNode.active = activeValue;
          this.hideButtonLabel.string = activeValue ? 'Hide UI' : 'Show UI';
        };
        _proto.changeTextColor = function changeTextColor(button) {
          this._currentColorIndex++;
          if (this._currentColorIndex >= this.strColor.length) {
            this._currentColorIndex = 0;
          }
          for (var i = 0; i < this.textComponentList.length; i++) {
            this.textComponentList[i].string = this.strColor[this._currentColorIndex] + this.textContentList[i] + '</color>';
          }
          for (var _i4 = 0; _i4 < this.labelComponentList.length; _i4++) {
            this.labelComponentList[_i4].color = this.color[this._currentColorIndex];
          }
        };
        _proto.onLoad = function onLoad() {};
        _proto.update = function update(deltaTime) {};
        return DebugViewRuntimeControl;
      }(Component), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "compositeModeToggle", [_dec2], {
        configurable: true,
        enumerable: true,
        writable: true,
        initializer: function initializer() {
          return null;
        }
      }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "singleModeToggle", [_dec3], {
        configurable: true,
        enumerable: true,
        writable: true,
        initializer: function initializer() {
          return null;
        }
      }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "EnableAllCompositeModeButton", [_dec4], {
        configurable: true,
        enumerable: true,
        writable: true,
        initializer: function initializer() {
          return null;
        }
      })), _class2)) || _class));
      cclegacy._RF.pop();
    }
  };
});

System.register("chunks:///_virtual/GameDef.ts", ['cc'], function (exports) {
  var cclegacy;
  return {
    setters: [function (module) {
      cclegacy = module.cclegacy;
    }],
    execute: function () {
      var _class;
      cclegacy._RF.push({}, "363fbbrgXZKt4ZmGBIrpPjz", "GameDef", undefined);
      var SDKType = exports('SDKType', /*#__PURE__*/function (SDKType) {
        SDKType["GMSDK"] = "gmSdk";
        SDKType["P800"] = "p800";
        SDKType["H5"] = "H5";
        return SDKType;
      }({}));
      var EDeviceType = exports('EDeviceType', /*#__PURE__*/function (EDeviceType) {
        EDeviceType[EDeviceType["Web"] = 0] = "Web";
        EDeviceType[EDeviceType["Android"] = 1] = "Android";
        EDeviceType[EDeviceType["Ios"] = 2] = "Ios";
        return EDeviceType;
      }({}));

      /**组件枚举 */
      var ComponentType = exports('ComponentType', /*#__PURE__*/function (ComponentType) {
        ComponentType[ComponentType["Sprite"] = 0] = "Sprite";
        ComponentType[ComponentType["Spine"] = 1] = "Spine";
        ComponentType[ComponentType["DragonBones"] = 2] = "DragonBones";
        return ComponentType;
      }({}));
      var GamePlatform_002_Enum = exports('GamePlatform_002_Enum', /*#__PURE__*/function (GamePlatform_002_Enum) {
        GamePlatform_002_Enum[GamePlatform_002_Enum["standAlone"] = 1] = "standAlone";
        GamePlatform_002_Enum[GamePlatform_002_Enum["andoird"] = 2] = "andoird";
        GamePlatform_002_Enum[GamePlatform_002_Enum["wx"] = 3] = "wx";
        GamePlatform_002_Enum[GamePlatform_002_Enum["p8_h5"] = 4] = "p8_h5";
        GamePlatform_002_Enum[GamePlatform_002_Enum["zong_you_h5"] = 5] = "zong_you_h5";
        GamePlatform_002_Enum[GamePlatform_002_Enum["zong_you_android"] = 6] = "zong_you_android";
        GamePlatform_002_Enum[GamePlatform_002_Enum["tt"] = 7] = "tt";
        GamePlatform_002_Enum[GamePlatform_002_Enum["qq"] = 8] = "qq";
        GamePlatform_002_Enum[GamePlatform_002_Enum["p8_h5_ios"] = 9] = "p8_h5_ios";
        GamePlatform_002_Enum[GamePlatform_002_Enum["android_tt"] = 10] = "android_tt";
        GamePlatform_002_Enum[GamePlatform_002_Enum["p8_ios"] = 11] = "p8_ios";
        return GamePlatform_002_Enum;
      }({}));
      var GamePlatform_Enum = exports('GamePlatform_Enum', /*#__PURE__*/function (GamePlatform_Enum) {
        GamePlatform_Enum[GamePlatform_Enum["DEBUG_H5"] = 0] = "DEBUG_H5";
        GamePlatform_Enum[GamePlatform_Enum["YIWANG_WX"] = 1] = "YIWANG_WX";
        GamePlatform_Enum[GamePlatform_Enum["YIWANG_H5"] = 2] = "YIWANG_H5";
        GamePlatform_Enum[GamePlatform_Enum["YONGYE_H5_1"] = 3] = "YONGYE_H5_1";
        GamePlatform_Enum[GamePlatform_Enum["YONGYE_H5_2"] = 4] = "YONGYE_H5_2";
        GamePlatform_Enum[GamePlatform_Enum["YONGYE_WX"] = 5] = "YONGYE_WX";
        GamePlatform_Enum[GamePlatform_Enum["YONGYE_P8H5"] = 7] = "YONGYE_P8H5";
        GamePlatform_Enum[GamePlatform_Enum["YONGYE_tt_androidxxx"] = 8] = "YONGYE_tt_androidxxx";
        GamePlatform_Enum[GamePlatform_Enum["IOS"] = 9] = "IOS";
        GamePlatform_Enum[GamePlatform_Enum["TANXIAN_WX"] = 10] = "TANXIAN_WX";
        GamePlatform_Enum[GamePlatform_Enum["YONGYE_tt_andoird"] = 11] = "YONGYE_tt_andoird";
        GamePlatform_Enum[GamePlatform_Enum["TANXIAN_tt_android"] = 12] = "TANXIAN_tt_android";
        GamePlatform_Enum[GamePlatform_Enum["Mother_bag_android"] = 13] = "Mother_bag_android";
        return GamePlatform_Enum;
      }({}));

      /** 后台开关配置 */

      /** 后台开关配置状态 */
      var SwitchConfigState = exports('SwitchConfigState', /*#__PURE__*/function (SwitchConfigState) {
        SwitchConfigState["Open"] = "1";
        SwitchConfigState["Close"] = "0";
        return SwitchConfigState;
      }({}));
      var GameDef = exports('default', /*#__PURE__*/function () {
        function GameDef() {}
        GameDef.getSerUrl = function getSerUrl(platId) {
          var url = 'https://dhbclient.jvplay.cn'; //默认正式服。
          console.warn('默认 *///// platId =', platId);
          switch (platId) {
            case GamePlatform_Enum.TANXIAN_tt_android: //原生头条 -探险队   312
            case GamePlatform_Enum.TANXIAN_WX:
              //微信的  312
              url = 'https://dhbclient312.jvplay.cn';
              console.warn('使用 312 服');
              break;
            case GamePlatform_Enum.Mother_bag_android:
              // 渠道母包  313 --
              url = 'https://dhbclient313.jvplay.cn'; //暂时用 312
              console.warn('使用 313服 ');
              break;
          }
          return url;
        };
        return GameDef;
      }());
      _class = GameDef;
      GameDef.platId = GamePlatform_Enum.YONGYE_WX;
      //游戏圈首页
      GameDef.RPKClubUrl = '-SSEykJvFV3pORt5kTNpS2fwtu92m0HliGKHO1vwqIkVO1j7QVcWRpAfMeuAnfNZcKSEYPaux-VVrbg8lWJWuhZg6Lp6GDaJqvGCWJ1oawA49THMP_CHsKLASiHjwD97O-Yc_z-VfjdQwtp_81SJhYxOXXwkm0qE6i_vaoT-ETe0tdV3X0cun8Tjp269p-0faaBWRZ1AXjhU3UoHVnUCzcsd8jXT75rc3nclh06mUxSNGA1YoR3EQ76HHbt279WTPwYf0ukaBYL9cWxJQ3ECs6zeQGrgJ_zGpUz5E8OmzlAMnpMOT9HLHsDJEq-f0-YGwpnQ1hFSLsnsYZtVQro9yg';
      GameDef.SERVER_URL_RELEASE = _class.getSerUrl(_class.platId);
      // 'https://dhbclient.jvplay.cn'; // 正式服
      GameDef.SERVER_URL_PRE = 'https://dhbclientpre.jvplay.cn';
      // 预发布
      GameDef.SERVER_URL_DEBUG = 'http://183.6.50.253:8099';
      // 测试
      /**
       *  发布前 切换这里
       */
      GameDef.SERVER_URL = _class.SERVER_URL_PRE;
      GameDef.gameSocket = 'wss://xzdjbtest.jvplay.cn:7401';
      //测试直连socket
      GameDef.qualityColorArr = ['93e777', '4bd5ff', 'e27bff', 'ffd161', 'ff6151', 'ffec4f'];
      // 品质颜色 颜色依次是绿、蓝、紫、橙、红、金
      GameDef.noticelink = "";
      //公告地址 后缀接类型  1是公告
      GameDef.openRecharge = undefined;
      // 是否开启充值
      GameDef.strogerSwitch = false;
      //变强勾选
      GameDef.KeyOfSite = {
        wjyzcswxxyx_android: '4cfd6795892f221d9fee73f4430bddd6',
        wjyzcswxxyx_android4: '9dec009e5b13a887bae2ba07b75fb283',
        wjyzcswxxyx_data: '4436c5b642ea10e0d5093f649cdb1cbe',
        wjyzcswxxyx_ios: 'fc0e7bde4aeb93337ab5509e9b3b705e'
      };
      var plalform_config = exports('plalform_config', /*#__PURE__*/function () {
        function plalform_config() {}
        plalform_config.init = function init() {
          //platId  挪到 上面 GameDef 去了。。。
          // let cfg: dbr.Sdk = DBRecord.fetchId('Sdk', GameDef.platId);
          // if (DEBUG) {
          //     cfg = DBRecord.fetchId('Sdk', GamePlatform_Enum.DEBUG_H5);
          // }
          // plalform_config.appName = cfg.appName;
          // plalform_config.baseUrl = cfg.baseUrl;
          // // plalform_config.aid = cfg.aid.toString();
          // // plalform_config.site = cfg.site;
          // plalform_config.key = cfg.key;
          // plalform_config.appId = cfg.appId;
          // plalform_config.gamePlatform_002 = cfg.gamePlatform_002;
          // plalform_config.showUserEdit = cfg.showUserEdit == 1;

          // plalform_config.wxVideoId = cfg.videoId;
          // plalform_config.skip = cfg.skip;

          // plalform_config.serverMap = `${plalform_config.baseUrl}/servermap.json`;
          // plalform_config.serverList = `${plalform_config.baseUrl}/serverlist.json`;
          // plalform_config.serverConfig = `${plalform_config.baseUrl}/server.json?version=${plalform_config.version}`;

          // if (WECHAT) {
          //     plalform_config.gamePlatform_video = 2; // ******区分平台 1-apk || 单机, 2-wx || qq || tt || oppo  3-h5 平台  99-模拟广告成功
          // } else if (NATIVE && ANDROID) {
          //     plalform_config.gamePlatform_video = 1; // ******区分平台 1-apk || 单机, 2-wx || qq || tt || oppo  3-h5 平台  4-p8-h5  99-模拟广告成功
          // } else {
          //     //web 平台的 p8 h5
          //     if (plalform_config.gamePlatform_002 == GamePlatform_002_Enum.p8_h5) {
          //         plalform_config.gamePlatform_video = 4; // ******区分平台 1-apk || 单机, 2-wx || qq || tt || oppo  3-h5 平台  4-p8-h5  99-模拟广告成功
          //     } else {
          //         plalform_config.gamePlatform_video = 1; // ******区分平台 1-apk || 单机, 2-wx || qq || tt || oppo  3-h5 平台  4-p8-h5  99-模拟广告成功
          //     }
          // }

          // if (DEBUG) {
          //     // plalform_config.serverConfig = `https://daihaob.jvplay.cn:2453/server.json?version=${plalform_config.version}`; //正式服
          //     // plalform_config.serverConfig = `https://xzdjbtest.jvplay.cn:8044/server.json?version=${plalform_config.version}`; //测试服
          // }
        };
        return plalform_config;
      }());
      plalform_config.appName = '无尽勇者传说';
      plalform_config.gamePlatform_002 = 3;
      //登录方式 ，普通单机直连。其他sdk返回再连  1-普通单机  2- p8 sdk(android)   3-微信  4-p8-h5
      plalform_config.useSkinVideo = false;
      // 是否使用快速跳过广告
      plalform_config.appId = '5352023';
      plalform_config.gamePlatform_video = 2;
      // ******区分平台 1-apk || 单机, 2-wx || qq || tt || oppo  3-h5 平台  99-模拟广告成功
      plalform_config.rewardVideo_CodeId = '950653715';
      plalform_config.wxVideoId = '';
      plalform_config.version = "2.0.0";
      /** 审核状态 ,true表示正在审核中 */
      plalform_config.shenHeZhong = false;
      /** 隐私协议状态, true表示新玩家也需要进登录页面同意用户协议才能进游戏，不能直接进新手 */
      plalform_config.privacyOpen = false;
      /**后台开关配置 */
      plalform_config.switchConfig = void 0;
      plalform_config.cfgRes = 'https://dhboss.jvplay.cn/zip/class';
      /** 活动数据 */
      plalform_config.activityConfig = GameDef.SERVER_URL + "/base/getActivityConfig?site=";
      // 预发布
      plalform_config.activityConfigTest = 'http://183.6.50.253:8099/base/getActivityConfig?site=';
      plalform_config.baseUrl = 'https://daihaob.jvplay.cn:2453';
      plalform_config.serverMap = "";
      plalform_config.serverList = "";
      plalform_config.serverConfig = "";
      plalform_config.aid = '';
      plalform_config.key = '';
      plalform_config.site = '';
      /** 是否显示账号输入框 */
      plalform_config.showUserEdit = false;
      /** 是否需要跳过审核 0不需要 1需要 */
      plalform_config.skip = 0;
      /**从后台获取问卷数据 */
      plalform_config.getQuestionnaireAddr = "";
      /**先从后台获取服务器状态和url */
      plalform_config.newServerStateInfo = GameDef.SERVER_URL + "/base/getSwitch";
      // 预发布
      /**先从后台获取服务器状态和url */
      plalform_config.newServerStateInfoDebug = GameDef.SERVER_URL_DEBUG + "/base/getSwitch";
      // 测试
      /**先从后台获取服务器状态和url */
      plalform_config.newServerStateInfoCheckToken = GameDef.SERVER_URL + "/base/getSwitchCheck";
      /**从后台获取服务器列表 */
      plalform_config.newServerListInfo = '';
      /**从后台获取服务器角色信息 */
      plalform_config.newServerRoleInfo = '';
      //从后台获取的基础Url
      plalform_config.baseServerUrl = '';
      /**获取微信分享的配置 */
      plalform_config.getShareConfig = '';
      /**登录页面的配置*/
      plalform_config.loginConfigUrl = GameDef.SERVER_URL + '/base/getLoginInfoConfig?site=';
      /**微信分享打点 */
      plalform_config.shareLog = '';
      /**从后台获取一些开关 */
      plalform_config.getSwitchConfig = '';
      /**判断用户是否为私域用户  此处是否应该由sdk实现 */
      plalform_config.isSyUser = 'https://center.yyingplay.com/sy/isSyUser';
      cclegacy._RF.pop();
    }
  };
});

System.register("chunks:///_virtual/main", ['./debug-view-runtime-control.ts', './GameDef.ts', './test.ts'], function () {
  return {
    setters: [null, null, null],
    execute: function () {}
  };
});

System.register("chunks:///_virtual/test.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc'], function (exports) {
  var _inheritsLoose, cclegacy, _decorator, Component;
  return {
    setters: [function (module) {
      _inheritsLoose = module.inheritsLoose;
    }, function (module) {
      cclegacy = module.cclegacy;
      _decorator = module._decorator;
      Component = module.Component;
    }],
    execute: function () {
      var _dec, _class;
      cclegacy._RF.push({}, "7f4f95cT1FBTY2TnzAFeSFk", "test", undefined);
      var ccclass = _decorator.ccclass,
        property = _decorator.property;
      var test = exports('test', (_dec = ccclass('test'), _dec(_class = /*#__PURE__*/function (_Component) {
        _inheritsLoose(test, _Component);
        function test() {
          return _Component.apply(this, arguments) || this;
        }
        var _proto = test.prototype;
        _proto.start = function start() {
          console.log('测试代码111111111111111111');
        };
        _proto.update = function update(deltaTime) {};
        return test;
      }(Component)) || _class));
      cclegacy._RF.pop();
    }
  };
});

(function(r) {
  r('virtual:///prerequisite-imports/main', 'chunks:///_virtual/main'); 
})(function(mid, cid) {
    System.register(mid, [cid], function (_export, _context) {
    return {
        setters: [function(_m) {
            var _exportObj = {};

            for (var _key in _m) {
              if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key];
            }
      
            _export(_exportObj);
        }],
        execute: function () { }
    };
    });
});